﻿using System.Collections.Generic;
using Rubikev.Common;

namespace Rubikev.Rockface.Core.Entities
{
   /// <summary>
   /// Represents a route along a climb, consisting of a set of points
   /// </summary>
   public class Route : EntityBase, IChildEntity<Climb>
   {
      /// <summary>
      /// The points on the route
      /// </summary>
      public IEnumerable<Point> Points { get; set; }

      /// <summary>
      /// The climb this route is on
      /// </summary>
      public Climb ParentEntity { get; set; }
   }
}
